<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: kern/mm/vmm.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b3dad8e81b3f37b89b2bf0a8abb2d993.html">kern</a></li><li class="navelem"><a class="el" href="dir_946bd77349b7674f752759d0c55831d4.html">mm</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">vmm.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="defs_8h_source.html">defs.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="list_8h_source.html">list.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="memlayout_8h_source.html">memlayout.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="sync_8h_source.html">sync.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
vmm.h 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h__incl.gif" border="0" usemap="#akern_2mm_2vmm_8h" alt=""/></div>
<map name="akern_2mm_2vmm_8h" id="akern_2mm_2vmm_8h">
<area shape="rect" title=" " alt="" coords="22,5,153,32"/>
<area shape="rect" href="defs_8h.html" title=" " alt="" coords="49,229,112,256"/>
<area shape="rect" href="list_8h.html" title=" " alt="" coords="21,155,76,181"/>
<area shape="rect" href="memlayout_8h.html" title=" " alt="" coords="79,80,189,107"/>
<area shape="rect" href="sync_8h.html" title=" " alt="" coords="293,80,357,107"/>
<area shape="rect" href="atomic_8h.html" title=" " alt="" coords="152,155,231,181"/>
<area shape="rect" href="intr_8h.html" title=" " alt="" coords="255,155,309,181"/>
<area shape="rect" href="mmu_8h.html" title=" " alt="" coords="333,155,401,181"/>
<area shape="rect" href="riscv_8h.html" title=" " alt="" coords="426,155,490,181"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
此图展示该文件直接或间接的被哪些文件引用了:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h__dep__incl.gif" border="0" usemap="#akern_2mm_2vmm_8hdep" alt=""/></div>
<map name="akern_2mm_2vmm_8hdep" id="akern_2mm_2vmm_8hdep">
<area shape="rect" title=" " alt="" coords="605,5,735,32"/>
<area shape="rect" href="init_8c.html" title=" " alt="" coords="5,155,116,181"/>
<area shape="rect" href="pmm_8c.html" title=" " alt="" coords="140,155,269,181"/>
<area shape="rect" href="swap_8h.html" title=" " alt="" coords="605,80,735,107"/>
<area shape="rect" href="vmm_8c.html" title=" " alt="" coords="1028,155,1157,181"/>
<area shape="rect" href="trap_8c.html" title=" " alt="" coords="1181,155,1303,181"/>
<area shape="rect" href="swapfs_8c.html" title=" " alt="" coords="876,229,1003,256"/>
<area shape="rect" href="swapfs_8h.html" title=" " alt="" coords="825,155,953,181"/>
<area shape="rect" href="swap_8c.html" title=" " alt="" coords="664,229,793,256"/>
<area shape="rect" href="swap__clock_8c.html" title=" " alt="" coords="283,229,454,256"/>
<area shape="rect" href="swap__clock_8h.html" title=" " alt="" coords="395,155,566,181"/>
<area shape="rect" href="swap__fifo_8c.html" title=" " alt="" coords="481,229,638,256"/>
<area shape="rect" href="swap__fifo_8h.html" title=" " alt="" coords="591,155,749,181"/>
</map>
</div>
</div>
<p><a href="vmm_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvma__struct.html">vma_struct</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmm__struct.html">mm_struct</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a81d6b6f61a855449e2a3f4b70b952c23"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#a81d6b6f61a855449e2a3f4b70b952c23">le2vma</a>(le,  member)&#160;&#160;&#160;    <a class="el" href="defs_8h.html#a9319e8a2aa1ca109db93ec14f04524e1">to_struct</a>((le), struct <a class="el" href="structvma__struct.html">vma_struct</a>, member)</td></tr>
<tr class="separator:a81d6b6f61a855449e2a3f4b70b952c23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afac2cbb7064aa8a2e7697f1a72f98c7d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#afac2cbb7064aa8a2e7697f1a72f98c7d">VM_READ</a>&#160;&#160;&#160;0x00000001</td></tr>
<tr class="separator:afac2cbb7064aa8a2e7697f1a72f98c7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc28cf46155de9d63615b2cb5c75eb30"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#adc28cf46155de9d63615b2cb5c75eb30">VM_WRITE</a>&#160;&#160;&#160;0x00000002</td></tr>
<tr class="separator:adc28cf46155de9d63615b2cb5c75eb30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40fd248212915347540d8ca35d04c4be"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#a40fd248212915347540d8ca35d04c4be">VM_EXEC</a>&#160;&#160;&#160;0x00000004</td></tr>
<tr class="separator:a40fd248212915347540d8ca35d04c4be"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a453bc43e9e111b76d167f3e8fa3010ef"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structvma__struct.html">vma_struct</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#a453bc43e9e111b76d167f3e8fa3010ef">find_vma</a> (struct <a class="el" href="structmm__struct.html">mm_struct</a> *mm, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> addr)</td></tr>
<tr class="separator:a453bc43e9e111b76d167f3e8fa3010ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a6d4d9a52a15d77de91f761855c1a66"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structvma__struct.html">vma_struct</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#a7a6d4d9a52a15d77de91f761855c1a66">vma_create</a> (<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> vm_start, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> vm_end, uint_t vm_flags)</td></tr>
<tr class="separator:a7a6d4d9a52a15d77de91f761855c1a66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7424f7ef30a8d8bd6fe3371134f48759"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#a7424f7ef30a8d8bd6fe3371134f48759">insert_vma_struct</a> (struct <a class="el" href="structmm__struct.html">mm_struct</a> *mm, struct <a class="el" href="structvma__struct.html">vma_struct</a> *vma)</td></tr>
<tr class="separator:a7424f7ef30a8d8bd6fe3371134f48759"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24d42b4ed2477d387310ddb18e277071"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmm__struct.html">mm_struct</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#a24d42b4ed2477d387310ddb18e277071">mm_create</a> (void)</td></tr>
<tr class="separator:a24d42b4ed2477d387310ddb18e277071"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7541e89504d7d084a3d31b67166185e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#ad7541e89504d7d084a3d31b67166185e">mm_destroy</a> (struct <a class="el" href="structmm__struct.html">mm_struct</a> *mm)</td></tr>
<tr class="separator:ad7541e89504d7d084a3d31b67166185e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34e0e13c32b08fd108582567c29ccebf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#a34e0e13c32b08fd108582567c29ccebf">vmm_init</a> (void)</td></tr>
<tr class="separator:a34e0e13c32b08fd108582567c29ccebf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76083b4b497bc14110c89b222892e5a9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#a76083b4b497bc14110c89b222892e5a9">do_pgfault</a> (struct <a class="el" href="structmm__struct.html">mm_struct</a> *mm, uint_t error_code, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> addr)</td></tr>
<tr class="separator:a76083b4b497bc14110c89b222892e5a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a199410cf1c59bd644a97bcda98f9bbb6"><td class="memItemLeft" align="right" valign="top">volatile unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#a199410cf1c59bd644a97bcda98f9bbb6">pgfault_num</a></td></tr>
<tr class="separator:a199410cf1c59bd644a97bcda98f9bbb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87e75b265002e137d80386653305d70a"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmm__struct.html">mm_struct</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vmm_8h.html#a87e75b265002e137d80386653305d70a">check_mm_struct</a></td></tr>
<tr class="separator:a87e75b265002e137d80386653305d70a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a81d6b6f61a855449e2a3f4b70b952c23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81d6b6f61a855449e2a3f4b70b952c23">&#9670;&nbsp;</a></span>le2vma</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define le2vma</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">le, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">member&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="defs_8h.html#a9319e8a2aa1ca109db93ec14f04524e1">to_struct</a>((le), struct <a class="el" href="structvma__struct.html">vma_struct</a>, member)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a40fd248212915347540d8ca35d04c4be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40fd248212915347540d8ca35d04c4be">&#9670;&nbsp;</a></span>VM_EXEC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VM_EXEC&#160;&#160;&#160;0x00000004</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afac2cbb7064aa8a2e7697f1a72f98c7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afac2cbb7064aa8a2e7697f1a72f98c7d">&#9670;&nbsp;</a></span>VM_READ</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VM_READ&#160;&#160;&#160;0x00000001</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="adc28cf46155de9d63615b2cb5c75eb30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc28cf46155de9d63615b2cb5c75eb30">&#9670;&nbsp;</a></span>VM_WRITE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VM_WRITE&#160;&#160;&#160;0x00000002</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="a76083b4b497bc14110c89b222892e5a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76083b4b497bc14110c89b222892e5a9">&#9670;&nbsp;</a></span>do_pgfault()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int do_pgfault </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmm__struct.html">mm_struct</a> *&#160;</td>
          <td class="paramname"><em>mm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint_t&#160;</td>
          <td class="paramname"><em>error_code</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>addr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_a76083b4b497bc14110c89b222892e5a9_cgraph.gif" border="0" usemap="#avmm_8h_a76083b4b497bc14110c89b222892e5a9_cgraph" alt=""/></div>
<map name="avmm_8h_a76083b4b497bc14110c89b222892e5a9_cgraph" id="avmm_8h_a76083b4b497bc14110c89b222892e5a9_cgraph">
<area shape="rect" title=" " alt="" coords="5,291,96,317"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="751,139,815,165"/>
<area shape="rect" href="vmm_8c.html#a453bc43e9e111b76d167f3e8fa3010ef" title=" " alt="" coords="169,519,251,545"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="748,316,819,343"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="359,493,458,520"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="144,341,276,368"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="324,240,493,267"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="573,196,648,223"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="908,107,980,133"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="1058,31,1123,57"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="1049,107,1132,133"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="1180,5,1267,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="1315,5,1469,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="1193,208,1253,235"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="1189,259,1257,285"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="1186,56,1261,83"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="1183,107,1264,133"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="1190,157,1257,184"/>
<area shape="rect" href="list_8h.html#a2a5579d68c706f9ed5103fef6efe8e0a" title=" " alt="" coords="369,544,448,571"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="906,360,982,387"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="1051,259,1130,285"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="1180,411,1267,437"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="899,461,989,488"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="891,309,997,336"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="729,507,838,533"/>
<area shape="rect" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b" title=" " alt="" coords="558,747,663,773"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="541,544,680,571"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="742,645,825,672"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="728,583,839,609"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="744,380,823,407"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="905,645,983,672"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="905,583,983,609"/>
<area shape="rect" href="swapfs_8c.html#a351ae62e17ae15d0be227ee49b1b526f" title=" " alt="" coords="731,196,835,223"/>
<area shape="rect" href="ide_8c.html#aa3e3300bda460455ef67f4f0b7861e5f" title=" " alt="" coords="887,157,1001,184"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="901,208,987,235"/>
<area shape="rect" href="string_8c.html#a18d9a75dd16f2db6609538cb4ddedaf1" title=" " alt="" coords="1051,157,1130,184"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_a76083b4b497bc14110c89b222892e5a9_icgraph.gif" border="0" usemap="#avmm_8h_a76083b4b497bc14110c89b222892e5a9_icgraph" alt=""/></div>
<map name="avmm_8h_a76083b4b497bc14110c89b222892e5a9_icgraph" id="avmm_8h_a76083b4b497bc14110c89b222892e5a9_icgraph">
<area shape="rect" title=" " alt="" coords="464,5,555,32"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,5,416,32"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,5,244,32"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,5,53,32"/>
</map>
</div>

</div>
</div>
<a id="a453bc43e9e111b76d167f3e8fa3010ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a453bc43e9e111b76d167f3e8fa3010ef">&#9670;&nbsp;</a></span>find_vma()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structvma__struct.html">vma_struct</a>* find_vma </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmm__struct.html">mm_struct</a> *&#160;</td>
          <td class="paramname"><em>mm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>addr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_a453bc43e9e111b76d167f3e8fa3010ef_cgraph.gif" border="0" usemap="#avmm_8h_a453bc43e9e111b76d167f3e8fa3010ef_cgraph" alt=""/></div>
<map name="avmm_8h_a453bc43e9e111b76d167f3e8fa3010ef_cgraph" id="avmm_8h_a453bc43e9e111b76d167f3e8fa3010ef_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,88,32"/>
<area shape="rect" href="list_8h.html#a2a5579d68c706f9ed5103fef6efe8e0a" title=" " alt="" coords="136,5,215,32"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_a453bc43e9e111b76d167f3e8fa3010ef_icgraph.gif" border="0" usemap="#avmm_8h_a453bc43e9e111b76d167f3e8fa3010ef_icgraph" alt=""/></div>
<map name="avmm_8h_a453bc43e9e111b76d167f3e8fa3010ef_icgraph" id="avmm_8h_a453bc43e9e111b76d167f3e8fa3010ef_icgraph">
<area shape="rect" title=" " alt="" coords="652,56,735,83"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="477,5,591,32"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="464,56,604,83"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="489,107,579,133"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="303,31,405,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="131,31,215,57"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,107,416,133"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,107,244,133"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,107,53,133"/>
</map>
</div>

</div>
</div>
<a id="a7424f7ef30a8d8bd6fe3371134f48759"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7424f7ef30a8d8bd6fe3371134f48759">&#9670;&nbsp;</a></span>insert_vma_struct()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void insert_vma_struct </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmm__struct.html">mm_struct</a> *&#160;</td>
          <td class="paramname"><em>mm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structvma__struct.html">vma_struct</a> *&#160;</td>
          <td class="paramname"><em>vma</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_a7424f7ef30a8d8bd6fe3371134f48759_cgraph.gif" border="0" usemap="#avmm_8h_a7424f7ef30a8d8bd6fe3371134f48759_cgraph" alt=""/></div>
<map name="avmm_8h_a7424f7ef30a8d8bd6fe3371134f48759_cgraph" id="avmm_8h_a7424f7ef30a8d8bd6fe3371134f48759_cgraph">
<area shape="rect" title=" " alt="" coords="5,56,144,83"/>
<area shape="rect" href="vmm_8c.html#a5ea7bebcbce722117fe0ebaf6dc3d0cb" title=" " alt="" coords="192,5,344,32"/>
<area shape="rect" href="list_8h.html#a239b408a024aa5bc29ed2a2cd93251eb" title=" " alt="" coords="213,56,323,83"/>
<area shape="rect" href="list_8h.html#a2a5579d68c706f9ed5103fef6efe8e0a" title=" " alt="" coords="229,107,307,133"/>
<area shape="rect" href="list_8h.html#a6d14129e8bd464c76ac9c4541f91acab" title=" " alt="" coords="392,56,479,83"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_a7424f7ef30a8d8bd6fe3371134f48759_icgraph.gif" border="0" usemap="#avmm_8h_a7424f7ef30a8d8bd6fe3371134f48759_icgraph" alt=""/></div>
<map name="avmm_8h_a7424f7ef30a8d8bd6fe3371134f48759_icgraph" id="avmm_8h_a7424f7ef30a8d8bd6fe3371134f48759_icgraph">
<area shape="rect" title=" " alt="" coords="475,56,613,83"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,5,413,32"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,107,407,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,56,427,83"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,31,239,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,31,89,57"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,107,230,133"/>
</map>
</div>

</div>
</div>
<a id="a24d42b4ed2477d387310ddb18e277071"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24d42b4ed2477d387310ddb18e277071">&#9670;&nbsp;</a></span>mm_create()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structmm__struct.html">mm_struct</a>* mm_create </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>kmalloc:类似于用户空间中的malloc函数，但是它是在内核空间中进行内存分配，因此用于内核代码中 它会在内存池中查找一个足够大的空闲内存块，将其标记为已使用，并返回其首地址 如果内存池中没有足够大的空闲内存块，则会进行内存压缩或者内存回收操作，以获得足够的连续内存空间。</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_a24d42b4ed2477d387310ddb18e277071_cgraph.gif" border="0" usemap="#avmm_8h_a24d42b4ed2477d387310ddb18e277071_cgraph" alt=""/></div>
<map name="avmm_8h_a24d42b4ed2477d387310ddb18e277071_cgraph" id="avmm_8h_a24d42b4ed2477d387310ddb18e277071_cgraph">
<area shape="rect" title=" " alt="" coords="5,309,101,336"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="171,259,245,285"/>
<area shape="rect" href="list_8h.html#aab675dfe52cdf4f4b72c6a22c3275e82" title=" " alt="" coords="173,309,243,336"/>
<area shape="rect" href="swap_8c.html#a79ff32a0865190184c59f90fd42868cd" title=" " alt="" coords="149,360,267,387"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="315,233,413,260"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="768,259,855,285"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="617,233,681,260"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="461,183,545,209"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="775,309,847,336"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="939,309,1005,336"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="931,385,1013,412"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="1073,284,1160,311"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="1208,284,1363,311"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="1087,537,1147,564"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="1083,335,1151,361"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="1079,385,1154,412"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="1076,436,1157,463"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="1083,487,1150,513"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="776,157,847,184"/>
<area shape="rect" href="swapfs_8c.html#a41793685a63e0f8e2d48695566bc75bb" title=" " alt="" coords="595,183,703,209"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="593,56,704,83"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="934,208,1010,235"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="933,259,1011,285"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="1073,144,1160,171"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="927,107,1017,133"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="919,157,1025,184"/>
<area shape="rect" href="ide_8c.html#a1d381d983b9bc07a2a4b636ed1997174" title=" " alt="" coords="752,107,871,133"/>
<area shape="rect" href="string_8c.html#a18d9a75dd16f2db6609538cb4ddedaf1" title=" " alt="" coords="933,5,1011,32"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="773,56,850,83"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_a24d42b4ed2477d387310ddb18e277071_icgraph.gif" border="0" usemap="#avmm_8h_a24d42b4ed2477d387310ddb18e277071_icgraph" alt=""/></div>
<map name="avmm_8h_a24d42b4ed2477d387310ddb18e277071_icgraph" id="avmm_8h_a24d42b4ed2477d387310ddb18e277071_icgraph">
<area shape="rect" title=" " alt="" coords="475,56,571,83"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,5,413,32"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,107,407,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,56,427,83"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,31,239,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,31,89,57"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,107,230,133"/>
</map>
</div>

</div>
</div>
<a id="ad7541e89504d7d084a3d31b67166185e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7541e89504d7d084a3d31b67166185e">&#9670;&nbsp;</a></span>mm_destroy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mm_destroy </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmm__struct.html">mm_struct</a> *&#160;</td>
          <td class="paramname"><em>mm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_ad7541e89504d7d084a3d31b67166185e_cgraph.gif" border="0" usemap="#avmm_8h_ad7541e89504d7d084a3d31b67166185e_cgraph" alt=""/></div>
<map name="avmm_8h_ad7541e89504d7d084a3d31b67166185e_cgraph" id="avmm_8h_ad7541e89504d7d084a3d31b67166185e_cgraph">
<area shape="rect" title=" " alt="" coords="5,107,109,133"/>
<area shape="rect" href="pmm_8c.html#ab66b2fd61c3ed722ba79fdaab776029f" title=" " alt="" coords="169,56,225,83"/>
<area shape="rect" href="list_8h.html#a86c117ac4118e4f49128679de329b351" title=" " alt="" coords="162,107,231,133"/>
<area shape="rect" href="list_8h.html#a2a5579d68c706f9ed5103fef6efe8e0a" title=" " alt="" coords="157,157,236,184"/>
<area shape="rect" href="pmm_8c.html#af5bf600e8b5ab88df053b90d965c9482" title=" " alt="" coords="284,5,379,32"/>
<area shape="rect" href="pmm_8h.html#a9cd9040356b15a1592f57740735b2285" title=" " alt="" coords="288,56,375,83"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="427,56,505,83"/>
<area shape="rect" href="list_8h.html#a835e92bfc11e7415502f0309eb5b1cfe" title=" " alt="" coords="290,107,373,133"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_ad7541e89504d7d084a3d31b67166185e_icgraph.gif" border="0" usemap="#avmm_8h_ad7541e89504d7d084a3d31b67166185e_icgraph" alt=""/></div>
<map name="avmm_8h_ad7541e89504d7d084a3d31b67166185e_icgraph" id="avmm_8h_ad7541e89504d7d084a3d31b67166185e_icgraph">
<area shape="rect" title=" " alt="" coords="475,56,579,83"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,5,413,32"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,107,407,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,56,427,83"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,31,239,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,31,89,57"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,107,230,133"/>
</map>
</div>

</div>
</div>
<a id="a7a6d4d9a52a15d77de91f761855c1a66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a6d4d9a52a15d77de91f761855c1a66">&#9670;&nbsp;</a></span>vma_create()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structvma__struct.html">vma_struct</a>* vma_create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>vm_start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>vm_end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint_t&#160;</td>
          <td class="paramname"><em>vm_flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_a7a6d4d9a52a15d77de91f761855c1a66_cgraph.gif" border="0" usemap="#avmm_8h_a7a6d4d9a52a15d77de91f761855c1a66_cgraph" alt=""/></div>
<map name="avmm_8h_a7a6d4d9a52a15d77de91f761855c1a66_cgraph" id="avmm_8h_a7a6d4d9a52a15d77de91f761855c1a66_cgraph">
<area shape="rect" title=" " alt="" coords="5,259,104,285"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="152,259,227,285"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="275,233,373,260"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="728,259,815,285"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="577,233,641,260"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="421,183,505,209"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="735,309,807,336"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="899,309,965,336"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="891,385,973,412"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="1033,284,1120,311"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="1168,284,1323,311"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="1047,537,1107,564"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="1043,335,1111,361"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="1039,385,1114,412"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="1036,436,1117,463"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="1043,487,1110,513"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="736,157,807,184"/>
<area shape="rect" href="swapfs_8c.html#a41793685a63e0f8e2d48695566bc75bb" title=" " alt="" coords="555,183,663,209"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="553,56,664,83"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="894,208,970,235"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="893,259,971,285"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="1033,144,1120,171"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="887,107,977,133"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="879,157,985,184"/>
<area shape="rect" href="ide_8c.html#a1d381d983b9bc07a2a4b636ed1997174" title=" " alt="" coords="712,107,831,133"/>
<area shape="rect" href="string_8c.html#a18d9a75dd16f2db6609538cb4ddedaf1" title=" " alt="" coords="893,5,971,32"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="733,56,810,83"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_a7a6d4d9a52a15d77de91f761855c1a66_icgraph.gif" border="0" usemap="#avmm_8h_a7a6d4d9a52a15d77de91f761855c1a66_icgraph" alt=""/></div>
<map name="avmm_8h_a7a6d4d9a52a15d77de91f761855c1a66_icgraph" id="avmm_8h_a7a6d4d9a52a15d77de91f761855c1a66_icgraph">
<area shape="rect" title=" " alt="" coords="475,56,573,83"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,5,413,32"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,107,407,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,56,427,83"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,31,239,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,31,89,57"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,107,230,133"/>
</map>
</div>

</div>
</div>
<a id="a34e0e13c32b08fd108582567c29ccebf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34e0e13c32b08fd108582567c29ccebf">&#9670;&nbsp;</a></span>vmm_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vmm_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="vmm_8h_a34e0e13c32b08fd108582567c29ccebf_cgraph.gif" border="0" usemap="#avmm_8h_a34e0e13c32b08fd108582567c29ccebf_cgraph" alt=""/></div>
<map name="avmm_8h_a34e0e13c32b08fd108582567c29ccebf_cgraph" id="avmm_8h_a34e0e13c32b08fd108582567c29ccebf_cgraph">
<area shape="rect" title=" " alt="" coords="5,623,89,650"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,623,239,650"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,458,413,484"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="1177,432,1241,459"/>
<area shape="rect" href="pmm_8c.html#acc1a40cd35d7497eef920fbc9219ff0e" title=" " alt="" coords="487,736,601,763"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,584,427,611"/>
<area shape="rect" href="vmm_8c.html#a453bc43e9e111b76d167f3e8fa3010ef" title=" " alt="" coords="503,534,585,560"/>
<area shape="rect" href="vmm_8c.html#a7424f7ef30a8d8bd6fe3371134f48759" title=" " alt="" coords="475,483,613,510"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="496,432,592,459"/>
<area shape="rect" href="vmm_8c.html#ad7541e89504d7d084a3d31b67166185e" title=" " alt="" coords="492,635,596,662"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="489,103,599,130"/>
<area shape="rect" href="pmm_8h.html#ab84f065d9581eef81630b9d4cbb55ce3" title=" " alt="" coords="501,230,587,256"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="495,382,593,408"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="1329,432,1401,459"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="1477,306,1543,332"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="1469,432,1551,459"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="1601,280,1688,307"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="1615,432,1675,459"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="1611,483,1679,510"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="1607,534,1682,560"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="1604,331,1685,358"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="1611,382,1678,408"/>
<area shape="rect" href="list_8h.html#a2a5579d68c706f9ed5103fef6efe8e0a" title=" " alt="" coords="698,584,777,611"/>
<area shape="rect" href="vmm_8c.html#a5ea7bebcbce722117fe0ebaf6dc3d0cb" title=" " alt="" coords="661,483,813,510"/>
<area shape="rect" href="list_8h.html#a239b408a024aa5bc29ed2a2cd93251eb" title=" " alt="" coords="682,534,793,560"/>
<area shape="rect" href="list_8h.html#a6d14129e8bd464c76ac9c4541f91acab" title=" " alt="" coords="873,534,959,560"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="700,331,775,358"/>
<area shape="rect" href="list_8h.html#aab675dfe52cdf4f4b72c6a22c3275e82" title=" " alt="" coords="702,382,773,408"/>
<area shape="rect" href="swap_8c.html#a79ff32a0865190184c59f90fd42868cd" title=" " alt="" coords="679,432,796,459"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="867,432,965,459"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="1019,230,1105,256"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="1020,280,1104,307"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="1173,128,1244,155"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="1153,280,1264,307"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="1327,27,1403,54"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="1326,230,1405,256"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="1467,204,1553,231"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="1320,78,1411,104"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="1312,128,1419,155"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="1327,280,1404,307"/>
<area shape="rect" href="pmm_8c.html#ab66b2fd61c3ed722ba79fdaab776029f" title=" " alt="" coords="709,635,765,662"/>
<area shape="rect" href="list_8h.html#a86c117ac4118e4f49128679de329b351" title=" " alt="" coords="703,686,772,712"/>
<area shape="rect" href="pmm_8c.html#af5bf600e8b5ab88df053b90d965c9482" title=" " alt="" coords="869,635,963,662"/>
<area shape="rect" href="pmm_8h.html#a9cd9040356b15a1592f57740735b2285" title=" " alt="" coords="873,382,959,408"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="1023,179,1101,206"/>
<area shape="rect" href="list_8h.html#a835e92bfc11e7415502f0309eb5b1cfe" title=" " alt="" coords="875,686,957,712"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="668,103,807,130"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="877,27,955,54"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="861,78,971,104"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="875,179,957,206"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="a87e75b265002e137d80386653305d70a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87e75b265002e137d80386653305d70a">&#9670;&nbsp;</a></span>check_mm_struct</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structmm__struct.html">mm_struct</a>* check_mm_struct</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a199410cf1c59bd644a97bcda98f9bbb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a199410cf1c59bd644a97bcda98f9bbb6">&#9670;&nbsp;</a></span>pgfault_num</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">volatile unsigned int pgfault_num</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
